package jobs.controller;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import jobs.controller.facade.ControllerFacade;
import jobs.ejb.OccupationalGroupFacade;
import jobs.model.OccupationalGroup;

/**
 * Controlador para Grupo Ocupacional
 *
 * @author Paul Tamayo
 */
@ManagedBean
@SessionScoped
public class OccupationalGroupController extends ControllerFacade<OccupationalGroup> {

    @EJB
    private OccupationalGroupFacade facade;

    public OccupationalGroupController() {
        super(OccupationalGroup.class);
    }

    @Override
    public OccupationalGroupFacade getFacade() {
        return facade;
    }
}
